package com.txts.road.app.event.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 赛事新闻视图对象
 *
 * @author baoyr
 * @since 2025-07-17 10:47
 */
@Getter
@Setter
@Schema( description = "赛事新闻视图对象")
public class EventNewsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "新闻ID")
    private Long id;
    @Schema(description = "赛事ID")
    private Long eventId;
    @Schema(description = "新闻标题")
    private String title;
    @Schema(description = "新闻摘要")
    private String summary;
    @Schema(description = "新闻内容")
    private String content;
    @Schema(description = "封面图片")
    private String coverImage;
    @Schema(description = "作者")
    private String author;
    @Schema(description = "浏览次数")
    private Integer viewCount;
    @Schema(description = "是否热门：0-否，1-是")
    private Integer isHot;
    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

}
